<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title><?php e($title_for_layout) ?></title>
<?php
    e($html->css(array('reset','text','960','admin'),null,array('type'=>"text/css", 'media'=>"all" )));
    e($javascript->link('jquery'));
    echo($scripts_for_layout);
?>
</head>
<body>
    <?php
        $baseurl = Configure::read('App.baseUrl');
    ?>
    <div class='container_12'>
        <div class='grid_12' id='head'>
                <div id='banner'></div>
                <div id='mainMenu'>
                <a href='<?php echo($baseurl.'admin/types') ?>'>
                <?php e($html->image('typebtn.gif')) ?>
                </a>
                <a href='<?php echo($baseurl.'admin/sites') ?>'>
                <?php e($html->image('cbtn.gif')) ?>
                </a>
                <a href='<?php echo($baseurl.'admin/templates') ?>'>
                <?php e($html->image('tplbtn.gif')) ?>
                </a>
                <a href='<?php echo($baseurl.'admin/recs') ?>'>
                <?php e($html->image('recbtn.gif')) ?>
                </a>
                <a href='<?php echo($baseurl.'admin/ads') ?>'>
                <?php e($html->image('adbtn.gif')) ?>
                </a>
                <a href='<?php echo($baseurl.'admin/users') ?>'>
                <?php e($html->image('userbtn.gif')) ?>
                </a>
                <a href='<?php echo($baseurl.'admin/sysconfigs') ?>'>
                <?php e($html->image('sysbtn.gif')) ?>
                </a>
                </div>
                <div id='banner-bottom'></div>
        </div> 
        <div id="main"  class="grid_12">
            <?php echo $content_for_layout ; ?>
        </div>
   
        <div id="footer" class="grid_12">
            <p id="footercontent">
            copyright©2009 yangyong
            </p>
        </div>
    </div>   
</body>